<template>
	<view>
		用户中心
		<tui-tabs :tabs="tabs" :currentTab="currentTab" @change="change"></tui-tabs>
	</view>
</template>

<script setup>
	import {ref} from 'vue'
// import tuiTabs from "@/components/thorui/tui-tabs/tui-tabs.vue"
 const tabs= [{
	name: "今日特拼"
}, {
	name: "全部"
}, {
	name: "新品"
},{
	name: "今日特拼"
}, {
	name: "全部"
}, {
	name: "新品"
},  {
	name: "禁用状态",
	disabled: true
}]
const currentTab = ref(0);
 function change(e){
	 uni.showToast({
	 	title:e.index
	 })
	 currentTab.value = e.index;
 }
</script>

<style>

</style>
